﻿package com.toncen.samepms.system.domain;

import com.toncen.samepms.common.AbstractDomain;
import com.toncen.samepms.common.IPropertyUniqueble;
import com.toncen.samepms.common.Unique;
 
/**
 * 描述：系统配置项表SYSTEM_CONFIGURATION的domain文件
 * 
 * @author tch 
 */
public class Configuration extends AbstractDomain implements IPropertyUniqueble{
	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 1331519521580L;
	
	/**
	 * 名称
	 */ 
	@Unique(column="NAME",title="名称")
	private  String name; 	 
    
	/**
	 * 描述
	 */ 
	private  String discription; 	 
    
	/**
	 * 值
	 */ 
	private  String value; 	 
    

	public Configuration() {
		super();
	}

	/**
	 * @return the  name
	 */
	public  String getName() {
		return  name;
	}

	/**
	 * @param  name
	 *            the  name to set
	 */
	public void setName( String  name) {
		this. name =  name;
	}
	
	/**
	 * @return the  discription
	 */
	public  String getDiscription() {
		return  discription;
	}

	/**
	 * @param  discription
	 *            the  discription to set
	 */
	public void setDiscription( String  discription) {
		this. discription =  discription;
	}
	
	/**
	 * @return the  value
	 */
	public  String getValue() {
		return  value;
	}

	/**
	 * @param  value
	 *            the  value to set
	 */
	public void setValue( String  value) {
		this. value =  value;
	}

	public String getPrimaryName() {
		// TODO Auto-generated method stub
		return "ID";
	}

	public String getTableName() {
		// TODO Auto-generated method stub
		return "SYSTEM_CONFIGURATION";
	}
	
}
